import request from "../utils/request";
//获取用户列表接口
export const userListService = (uid,uname) => {
    return request.post("/user/user/list", { uid, uname});
};
//获取用户列表接口
export const resetPasswordService = (uid,uname) => {
    return request.post("/user/resetPassword", { uid});
};
//获取试题列表接口
export const testListService = (tname) => {
    return request.post("/user/test/list", { tname});
};
//查看试题接口
export const checkTestQuestionService = (uid, tid) => {
    return request.post("/user/question/all", { user: { uid }, test: { tid } });
};
//删除试题接口
export const deleteAdminTestService = (tid) => {
    return request.post("/user/test/delete", { tid });
};
//获取学生的分析列表接口
export const studentAnalysisListService = (uname) => {
    return request.post("/user/analysis/student", { uname});
};
//删除分析的接口
export const deleteAnalysisService = (aid) => {
    return request.post("/user/analysis/student/delete", {aid });
};
//获取班级的分析列表接口
export const classAnalysisListService = (cname) => {
    return request.post("/user/analysis/teacher", { cname});
};
//删除班级分析的接口
export const deleteClassAnalysisService = (aid) => {
    return request.post("/user/analysis/teacher/delete", {aid });
};
